<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" ng-click="cancel()">&times;</button>
    <p class="modal-title panel-title-size">编排部署</p>
</div>
<div class="modal-body panel-body">
    <form class="form-horizontal form-validation" name="addHostForm">
        <div style="margin-bottom: 20px;">
            <label class="col-lg-2 control-label">运行环境：</label>
            <select class="form-control" ng-model="addData.type" style="display: inline-block;width: 80%;">
                <option value="">--请选择--</option>
                <option ng-repeat="row in typeData" ng-selected="row==addData.type" value="{{row}}" ng-bind="row"></option>
            </select>
        </div>
        <label class="col-lg-2 control-label"></label>
        <div ng-code-mirror8="" code-mirror="codeMirror">
            <div class="form-group" style="height: 300px;width: 94%;">
                <textarea class="textarea"></textarea>
            </div>
        </div>
    </form>
</div>
<div class="modal-footer">
    <button type="submit" class="btn btn-primary" validation-submit="addHostForm" ng-disabled="addHostForm.$invalid" ng-click="ok()">确认</button>
    <button class="btn btn-default" ng-click="cancel()">取消</button>
</div>